<%= form_tag assign_clients_path %>

  <div>
    <%= label_tag "Choose Employee : " %>
    <%= select_tag "employee", options_for_select(@employee.collect{|employee| [employee.full_name , employee.id]}) %>
  </div>
 
 <%= label_tag "Choose Client which have no Employee: " %><br/>
 <% if !@client.blank?%>
      <% @client.each do |client|   %>
<% if !client.employee_id.nil? %>
         <%= check_box_tag "clients[]" ,client.id ,  true %> <%= client.full_name%>
<% else %>

 <%= check_box_tag "clients[]" ,client.id ,  false %> <%= client.full_name %>
<% end %>
<% end %>
<% end %>
<br/>
<%= submit_tag "Submit" %>



